package com.woniuxy.service.impl;

import com.woniuxy.dao.IUserDao;
import com.woniuxy.entity.User;
import com.woniuxy.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author : mafan
 * @date : 2020-11-18 20:21
 **/
@Service
@Transactional
public class UserServiceImpl implements UserService {
    @Autowired
    private IUserDao userDao;

    public void save(User user) {
        userDao.save(user);
    }
}
